package com.guanzi.server.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author guanzi
 * @since 2021-06-04
 */
@Data

@ApiModel(value="OrderVO对象", description="")
public class OrderVO implements Serializable {

    @ApiModelProperty(value = "唯一id")
    private Integer id;

    @ApiModelProperty(value = "下单用户")
    private Integer eUserId;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "所属商家")
    private Integer eStoreId;

    @ApiModelProperty(value = "商家名称")
    private String storeName;

    @ApiModelProperty(value = "菜品详细信息")
    private String foodName;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "用餐备注")
    private String remark;

    @ApiModelProperty(value = "总价格")
    private Integer price;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;


}
